package com.xc.pojo.output;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class BaseEntityOutputBean {
    @Schema(
            title = "ID"
    )
    protected String id;
    @Schema(
            title = "创建者ID"
    )
    protected String createUserId;
    @Schema(
            title = "修改者"
    )
    protected String updateUserId;
    @Schema(
            title = "创建时间"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    protected Date createDate;
    @Schema(
            title = "修改时间"
    )
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    protected Date updateDate;
    @JsonIgnore
    @Schema(
            hidden = true
    )
    Map<String, List<String>> dataGroupIdMap = null;
    @Schema(
            hidden = true
    )
    protected Map<String, Boolean> opreateAuthMap;
}
